﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using Fuse8.ContentManagementFramework.Administration.Attributes;

namespace Fuse8.ContentManagementFramework.Administration.Models
{
    public class AccountModel
    {
        [Required]
        [GlobalizedDisplay("User name", "cms_Account")]
        public string UserName { get; set; }

        [Required]
        [DataType(DataType.Password)]
        [GlobalizedDisplay("Password", "cms_Account")]
        public string Password { get; set; }

        [GlobalizedDisplay("Remember me", "cms_Account")]
        public bool RememberMe { get; set; }

        /// <summary>
        /// System languages
        /// </summary>
        public IEnumerable<dynamic> Languages { get; set; }

        /// <summary>
        /// Fake loging, used for bot
        /// </summary>
        public string User { get; set; }

        /// <summary>
        /// Fake submit button id, used for bot
        /// </summary>
        public string Btn { get; set; }

        public string TimeStamp { get; set; }
    }
}
